package com.example.mapper;

import com.example.entity.MonitoringSite;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface MonitoringSiteMapper {
    List<MonitoringSite> selectAll();
    MonitoringSite selectById(Integer id);
    int insert(MonitoringSite site);
    int update(MonitoringSite site);
    int deleteById(Integer id);
    List<MonitoringSite> selectByRoomId(Integer roomId);
} 